import { addfn } from './add/add'
const num = addfn(10,20)
console.log(num)
import $ from 'jquery'
$('ul li:odd').css('color', 'lime')
$('ul li:even').css('color', 'pink')
import "./css/index.css"
const arr =[10, 20, 30]
arr.forEach(item => console.log(item))
import "./less/index.less"
import imgUrl from './assets/1.gif'
const theImg = document.createElement("img")
theImg.src = imgUrl
document.body.appendChild(theImg)
// 引入字体图标文件
import './assets/fonts/iconfont.css'
let theI = document.createElement('i')
theI.className = "iconfont icon-qq"
document.body.appendChild(theI)

const fn = () => {
    console.log("你好babel");
  }
  console.log(fn) 
